package domain;

/**
 * A simple POJO to retrieve JCDecaux result.
 * 
 * @author Smouha
 * 
 */
public class JCDecauxObject {

	private int number;
	private EStatus status;
	private int bikeStands;
	private int availableBikeStands;
	private int availableBikes;
	private String name;
	private String address;
	private double latitude;
	private double longitude;

	public JCDecauxObject() {

	}

	public JCDecauxObject(int number, EStatus status, int bikeStands,
			int availableBikes, int availableBikeStands) {
		this.number = number;
		this.status = status;
		this.bikeStands = bikeStands;
		this.availableBikes = availableBikes;
		this.availableBikeStands = availableBikeStands;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public EStatus getStatus() {
		return status;
	}

	public void setStatus(EStatus status) {
		this.status = status;
	}

	public int getBikeStands() {
		return bikeStands;
	}

	public void setBikeStands(int bikeStands) {
		this.bikeStands = bikeStands;
	}

	public int getAvailableBikeStands() {
		return availableBikeStands;
	}

	public void setAvailableBikeStands(int availableBikeStands) {
		this.availableBikeStands = availableBikeStands;
	}

	public int getAvailableBikes() {
		return availableBikes;
	}

	public void setAvailableBikes(int availableBikes) {
		this.availableBikes = availableBikes;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	@Override
	public String toString() {
		return "JCDecauxObject [number=" + number + ", status=" + status
				+ ", bikeStands=" + bikeStands + ", availableBikeStands="
				+ availableBikeStands + ", availableBikes=" + availableBikes
				+ ", name=" + name + ", address=" + address + ", latitude="
				+ latitude + ", longitude=" + longitude + "]";
	}

}